FlashDrawMode
FlashDrawMode FlashId, DrawMode
 
Parameters:

    FlashId=The Id of the Flash movie
    DrawMode=The DrawMode of the movie
Returns: NONE
 

FlashDrawMode sets the DrawMode of a movie. Currently supported modes are:
0 = The movie is displayed opaque
1 = The movie is displayed statically transparent.

The transparent mode cuts out all elements from a movie that have the current background color at the time this command is called. Therefore it is not possible to display Flash elements inside the transparent region.



  
; include the flash library
  #Include "PBFlash.pba"
  
; load a flash movie and display it
  LoadFlash CurrentDir$() + example.swf", 1, 0, 0
  
; Set background colour to reg
  FlashColor 1RGB(25500)
  
; Make flash transparent
  FlashDrawMode 11
  
  Sync
  WaitKey
  
  

 
Related Info: :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com